<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo Yii::app()->params["app"]["name"] ?>，我的云盘！ 爱分享 云生活</title>
<link rel="stylesheet" type="text/css" href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/css/style.css?v=<?php echo(Yii::app()->params['app']['version'])?>" media="all" />
<script type="text/javascript">document.domain=window.location.host;</script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/js/jquery_min.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/common_set_validate.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/tip.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script> 
</head>
<body>

<div class="s-con">
        <form action="?ct=security&action=change_question" method="post" id="form_question">
                     <p class="border-bottom s-safe-title"><strong>修改安全提问</strong></p>
            <div class="input-label s-form-tip"><span class="s-t-icon alert"></span>您已设置安全问题,如需找回,请填写下列表单进行操作</div>
        
                 <div class="input-label">
                <label for="passwd"  class="label-text">登录密码：</label>
                <input type="password" name="form[passwd]" id="passwd"  class="text required rangelength" data-rangelength="6,20"  data-error="请输入登录密码！" />
                        </div>

        <div class="input-label">
                <label for=""  class="label-text">密码保护问题：</label>
                <span class="txt">我就读的第一所学校的名称？</span>
        </div>
        
        <div class="input-label">
            <label for="pwd_answer" class="label-text">答案：</label>
            <input type="text" name="form[pwd_answer]" id="pwd_answer" class="text required" data-error="请输入答案！" />

                    </div>

                
        <div class="input-label">
            <label for="" class="label-text">&nbsp;</label>
            <a href="javascript:;" onClick="S.validate($('#form_question'));return false;" class="circle-btn circle-btn-blue"><span>确 定</span></a>
            <a href="/?ct=security&ac=set_superpwd" class="circle-btn circle-btn-white"><span>取消</span></a>
        </div>
    </form>

</div>
<script type="text/javascript">
$("#question").change(function(){
    if($(this).val()== "0000"){
        $('#my_question').slideDown('fast');
    }
    else{
        $('#my_question').slideUp('fast');
        $('#custom_question').val('');
    }
})
</script>
<script type="text/javascript">
	document.domain=window.location.host;
	$(function(){
		if(!parent.window.isFrame && parent.window.location.hash == ""){
			var href=window.location.href;
			window.location.href="<?php echo(Yii::app()->params['app']['host'])?>/index.php?r=setting/index&ac="+window.location.href.substring(href.indexOf("=")+1,href.length);
		}
	})
</script></body>
</html>